<?php

require_once '../nguyenbaothien-web1/libries/utilities/lyrics.php';
$strs = explode("\n", $lyrics);
$values = array();

for ($i = 0; $i < count($strs); $i++) {
    if ($strs[$i] != "\r"."<br>"){
        $values[] = $strs[$i];   
    }else{
        if($i < count($strs) - 1){
            if($strs [$i] == "\r"){
                $values [count($values)] = "<br>";
            }
        }
    }
}

for ($i = 0; $i < count($values); $i++) {
    echo ucwords($values[$i] . "<br>");
}
?>
